// 接口的合并
// interface UserInter{
//     name: string;
// }
// interface UserInter{
//     age: number;
// }
var user = {
    name: "后盾人",
    age: 18
};
console.log(user);
var u1 = {
    name: "后盾人",
    age: 20
};
var u2 = {
    age: 22
};
console.log(u1);
console.log(u2);
var Person = /** @class */ (function () {
    function Person() {
        this.name = "hdms";
        this.age = 11;
    }
    Person.prototype.show = function () {
        return "".concat(this.name, "\u7684\u5E74\u9F84\u662F").concat(this.age);
    };
    return Person;
}());
var person = new Person();
console.log(person.show());
var mm = {
    name: "后盾人",
    age: 33
};
console.log(mm);
